cmake_minimum_required(VERSION 3.2)

project(D3dApp CXX)

set(CXX_STANDARD 20)
set(CXX_STANDARD_REQUIRED True)
set(CMAKE_WIN32_EXECUTABLE True)
set(LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib)

add_definitions(-DUNICODE -D_UNICODE)

aux_source_directory(${PROJECT_SOURCE_DIR}/src SRCS)

add_library(${PROJECT_NAME} STATIC ${SRCS})
target_include_directories(
    ${PROJECT_NAME} 
    PUBLIC
    "${PROJECT_SOURCE_DIR}/include"
)